package cc.mrbird.febs.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Macw
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_share")
public class Share implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分享表主键id
     */
    @TableId(value = "share_id",type = IdType.AUTO)
    private Integer shareId;

    /**
     * 分享标题
     */
    private String title;

    /**
     * 分享描述
     */
    @TableField("description")
    private String description;


    /**
     * 分享链接
     */
    private String shareUrl;

    /**
     * 分享图标
     */
    private String imgUrl;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private String activityId;

    /**
     * 状态 1可用 0 不可用
     */
    @TableField("status")
    private Integer status;


    /**
     * 创建日期
     */
    private LocalDateTime createTime;


}
